import unittest
from General.Mapper import *


class TagCountMapperTest(unittest.TestCase):
    tagCountMapper = TagCountMapper()

    def test_getTopicCount(self):
        now = datetime.datetime.now()
        startTime = datetime.datetime(now.year, now.month, now.day, 0, 0, 0)
        endTime = datetime.datetime(now.year, now.month, now.day, 23, 59, 59)
        print(self.tagCountMapper.getTagCount(startTime, endTime))
